<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<form:form modelAttribute="user" action="user/add" method="post" target="dialog" onsubmit="return validateCallback(this,dialogAjaxDone)">
<div class="pageFormContent" layouth="56" style="height: 205px; overflow: auto;">
	<p>
		<form:label path="email">登录邮箱：</form:label>
		<form:input path="email"/>
	</p>
	<p>
		<form:label path="password">密码：</form:label>
		<form:input path="password"/>
	</p>
	<p>
		<form:label path="name">姓名：</form:label>
		<form:input path="name"/>
	</p>
	<p>
		<form:label path="role">角色：</form:label>
		<form:input path="role"/>
	</p>
	<p>
		<form:label path="enable">是否生效：</form:label>
		<form:input path="enable"/>
	</p>
</div>
<div class="formBar">
	<ul>
		<li>
			<div class="buttonActive">
				<div class="buttonContent">
					<button type="submit">保存</button>
				</div>
			</div>
		</li>
		<li>
			<div class="button">
				<div class="buttonContent">
					<button class="close" type="button">关闭</button>
				</div>
			</div>
		</li>
	</ul>
</div>
</form:form>
